#pragma once
#include "ZarthMath.h"
#include "Image.h"

class Surface;

class HitRecord
{
public:
	Point location;
	float t;
	Surface *surface;
};
class Surface
{
public:
Surface(void);
~Surface(void);

virtual bool Hit(Point, Vec3f, HitRecord*) const = 0;
virtual Pixel Shade(Point, Vec3f) const = 0;
};

